x = 10
y = 3
z = 3.1415926

print(x+y)
print(x-y)
print(x*y)
print(x/y)
print(f"x//y={x//y}") #除法取整
print(x%y)
print(f"x**y={x**y}") #指数计算
print('===================================')

x+=y
print(x)
x-=y
print(x)
x*=y
print(x)
x/=y
print(x)
x//=y
print(x)
x%=y
print(x)
x**=y
print(x)
print('===================================')

# 交换赋值
x,y = y,x
print(f"{x=},{y=}")

# 批量赋值
a,b,c,d = 1,2,3,4
print(a,b,c,d)

# 连续赋值
m = n = 10
print(f"{m=},{m=}")

str_1 = 'xbox'
str_2 = 'ps'
print(str_1>str_2)